]> dgit.raspbian.org Git - gnome-shell.git/commit
theme/calendar: Use em instead of px for calendar day sizes
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 26 Apr 2022 16:45:40 +0000 (18:45 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 29 Apr 2022 18:51:42 +0000 (18:51 +0000)
commitd52508a29ef89a31c0d64c3ec1bddc2ee3c4cace
treec7e9b7cefa4dbcf09d6c7956d450c5c4f30d055a
parent8d59d8363544cf5dc044b8c16fc64620dd91d053
theme/calendar: Use em instead of px for calendar day sizes

The layout manager of the calendar/notifications popup is using the
calendar width to determine the width of the whole right area of the
calendar popup. When enabling large text, this means the cards used for
world clocks, weather etc. get larger, while the calender doesn't get
larger, leading to the cards getting clipped.

Make sure the calendar grows in size just as the cards do when large
text is enabled and define its size in em's instead of pixels.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5392

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2282>
data/theme/gnome-shell-sass/widgets/_calendar.scss